<input type="textbox" ng-model="$parent.input"></input>
<button ng-click="submit()">Submit</button>
{{input}}